package com.mifengkong.greendao.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by WANG on 18/3/15
 */

@Entity
public class CreditCardAccountBean {

    @Id(autoincrement = true)
    private Long id;

    @Property(nameInDb = "BANK_NAME")
    String bankName;

    @Property(nameInDb = "BANK_ACCOUNT")
    String bankAccount;

    @Property(nameInDb = "LOGIN_TYPE")
    String loginType;

    public CreditCardAccountBean(String bankName, String bankAccount, String loginType) {
        this.bankName = bankName;
        this.bankAccount = bankAccount;
        this.loginType = loginType;
    }

    @Generated(hash = 231633546)
    public CreditCardAccountBean(Long id, String bankName, String bankAccount,
            String loginType) {
        this.id = id;
        this.bankName = bankName;
        this.bankAccount = bankAccount;
        this.loginType = loginType;
    }

    @Generated(hash = 1448999227)
    public CreditCardAccountBean() {
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getBankName() {
        return this.bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getBankAccount() {
        return this.bankAccount;
    }

    public void setBankAccount(String bankAccount) {
        this.bankAccount = bankAccount;
    }

    public String getLoginType() {
        return this.loginType;
    }

    public void setLoginType(String loginType) {
        this.loginType = loginType;
    }
}
